<template>
  <footer class="footer">
    <slot>
      {{ PROJECT_NAME }} 版权所有 © 2025 {{ AUTHOR }} |
      <a-link style="font-size: 12px" :href="SCHOOL_URL" target="_blank">
        {{ SCHOOL_NAME }}
      </a-link>
    </slot>
  </footer>
</template>

<style lang="less" scoped>
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: @size-mini;
  color: var(--color-text-2);
  text-align: center;
}
</style>
<script setup lang="ts">
import { PROJECT_NAME, SCHOOL_NAME, SCHOOL_URL, AUTHOR } from '@/constants';
</script>
